package com.ask.service;

import com.ask.domain.Book;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface BookService {
    public boolean save(Book book);
    public boolean update (Book book);
    public boolean delete(Integer id);
    public Book findById(Integer id);
    public List<Book> getAllBooks();
}
